package net.lanelife.casino.caipiao.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import net.lanelife.casino.common.entity.annotation.Checked;
import net.lanelife.casino.common.entity.support.CheckableEntity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

/**
 * 返点级别表
 * 
 * @author Lane
 * 
 */
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "TB_REBATE_POINT_LEVEL")
public class RebatePointLevel extends CheckableEntity<Integer> {

	private static final long serialVersionUID = 1013357673090032910L;

	@Checked
	@Column(name = "BEGIN_REBATE_POINT", nullable = false)
	private Double beginRebatePoint;

	@Checked
	@Column(name = "END_REBATE_POINT", nullable = false)
	private Double endRebatePoint;

	@Checked
	@Column(name = "QUOTA_PRICE", nullable = false)
	private Integer quotaPrice;

	public Double getBeginRebatePoint() {
		return beginRebatePoint;
	}

	public void setBeginRebatePoint(Double beginRebatePoint) {
		this.beginRebatePoint = beginRebatePoint;
	}

	public Double getEndRebatePoint() {
		return endRebatePoint;
	}

	public void setEndRebatePoint(Double endRebatePoint) {
		this.endRebatePoint = endRebatePoint;
	}

	public Integer getQuotaPrice() {
		return quotaPrice;
	}

	public void setQuotaPrice(Integer quotaPrice) {
		this.quotaPrice = quotaPrice;
	}

}
